package com.weblog.search.client.impl;

import com.weblog.search.client.UserClient;
import entity.Result;
import entity.StatusCode;
import org.springframework.stereotype.Component;

/**
 * @author MaoLin Wang
 * @date 2019/9/2215:41
 */
@Component
public class UserClientImpl implements UserClient {

    @Override
    public Result findUserNameById(String id) {
        return new Result(false, StatusCode.ERROR,"啊哦，用户客户端出现了异常");
    }

    @Override
    public Result findUserNameAndAvatarById(String id) {
        return new Result(false, StatusCode.ERROR,"啊哦，用户客户端findUserNameAndAvatarById出现了异常");
    }


}
